home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2005 November / WNnov2005.iso / Windows / Indispensables / Movie Collection / MovieCollection5403.exe / {app} / web / FreeBrowser / film.xsl < prev    next >
Extensible Markup Language  |  2005-08-06  |  3KB  |  80 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:output method="html" media-type="text/html; charset=ISO-8859-1"/>
  4.  
  5. <xsl:template match="/">
  6.    <html>
  7.       <body>
  8.          <a href="/mc">Nouvelle recherche</a> :: 
  9.          <a href="/mc?medias">Medias</a>
  10.          <h3>
  11.              <xsl:value-of select="//column[@field='nom']/@value"/>
  12.             <xsl:if test="not(//column[@field='originaltitle']/@value='')">
  13.                (<xsl:value-of select="//column[@field='originaltitle']/@value"/>)
  14.             </xsl:if>
  15.          </h3><br />
  16.          
  17.          <table border="0" cellpadding="5" cellspacing="0" width="570">
  18.           <tr>
  19.               <td valign="top" width="200">
  20.                  <div>
  21.                   <img>
  22.                      <xsl:attribute name="src">/plugins/mc/stars<xsl:value-of select="//column[@field='note']/@value"/>.gif</xsl:attribute>
  23.                   </img>
  24.                </div>
  25.                <br />
  26.                <div>
  27.                   ~imagebdd~
  28.                </div>
  29.                <br />
  30.                  <div>
  31.                   RΘfΘrence : <xsl:value-of select="//column[@field='ref']/@value"/><br />
  32.                   Source : <xsl:value-of select="//column[@field='source']/@value"/><br />
  33.                   RΘalisateur : <xsl:value-of select="//column[@field='realisateur']/@value"/><br />
  34.                   Producteur : <xsl:value-of select="//column[@field='producteur']/@value"/><br />
  35.                   Pays : <xsl:value-of select="//column[@field='pays']/@value"/><br />
  36.                   Categorie : <xsl:value-of select="//column[@field='categorie']/@value"/><br />
  37.                   AnnΘe : <xsl:value-of select="//column[@field='annee']/@value"/><br />
  38.                   DurΘe : <xsl:value-of select="//column[@field='duree']/@value"/><br />
  39.                   Langue(s) : <xsl:value-of select="//column[@field='langues']/@value"/><br />
  40.                   ST : <xsl:value-of select="//column[@field='soustitres']/@value"/><br />
  41.                   Disques : <xsl:value-of select="//column[@field='nb']/@value"/><br />
  42.                </div>
  43.             </td>
  44.               <td valign="top">
  45.                <table border="1" cellpadding="4" cellspacing="0">
  46.                    <tr>
  47.                        <td valign="top"><b>Acteurs :</b></td>
  48.                    </tr>
  49.                    <tr>
  50.                        <td valign="top"><xsl:value-of select="//column[@field='acteurs']/@value"/></td>
  51.                    </tr>
  52.                    <tr>
  53.                        <td valign="top"><b>RΘsumΘ :</b></td>
  54.                    </tr>
  55.                    <tr>
  56.                        <td valign="top"><xsl:value-of select="//column[@field='obs']/@value"/></td>
  57.                    </tr>
  58.                    <tr>
  59.                        <td valign="top"><b>Commentaires :</b></td>
  60.                    </tr>
  61.                    <tr>
  62.                        <td valign="top"><xsl:value-of select="//column[@field='infos']/@value"/></td>
  63.                    </tr>
  64.                </table>
  65.             </td>
  66.          </tr>
  67.          </table>
  68.          
  69.          <div>...</div>
  70.          <a href="/mc">Nouvelle recherche</a> :: 
  71.          <a href="/mc?medias">Medias</a>
  72.                
  73.       </body>
  74.    </html>
  75. </xsl:template>
  76.  
  77.  
  78.  
  79. </xsl:stylesheet>
  80.